//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.yaukie.base.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateHelper {
    public DateHelper() {
    }

    public static String format(Date date) {
        String strDate = "";
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss.s");
        strDate = formatter.format(date);
        return strDate;
    }

    public static void main(String[] args) {

        try {
            System.out.println(format((new SimpleDateFormat("yyyy.MM.dd")).parse("2021.10.11")));
        } catch (ParseException e) {
            throw new RuntimeException(e);
        }

    }
}
